


<template>
    <div class="model-form">
        <el-page-header @back="goBack" content="增加">
        </el-page-header>
        <div class="model-content">
            <QuerySnippetParamForm
                    v-model="form"
                    @submit="createData"
                    @cancel="goBack"
                    ref="ruleForm"
            />
        </div>
    </div>
</template>

<script setup>
    import QuerySnippetParamForm from "./form.vue";
    import {ref} from "vue";
    import {useCreate} from "@/uses/useCreate";

    const form = ref({
      extData:{
        filters: []
      }
    })

    const ruleForm = ref(null);

    const {createData,goBack} =useCreate("querySnippetParam",form,ruleForm)
</script>

<style scoped>
</style>